/**
* This file is part of OntoApplications (project linked with OntoCompoFramework)
*
* Copyright (C) 2011 -  Christian Brel
*
* @author   Main    Christian Brel
**/
package applications.businessdirectory.fc.lib;

import applications.businessdirectory.fc.api.Assignment;
import applications.businessdirectory.fc.api.BusinessCard;
import applications.businessdirectory.fc.api.Post;

public class BusinessCardImpl implements BusinessCard {

	private String status;
	private String name;
	private String cardLink;
	private String email;
	private Post[] posts;
	private Assignment[] assignments;
	
	public BusinessCardImpl() {
		System.out.println("BusinessCardImpl created.");
	}
	
	public BusinessCardImpl(String status, String name, String cardLink, String email, Post[] posts, Assignment[] assignments) {
		this.status = status;
		this.name = name;
		this.cardLink = cardLink;
		this.email = email;
		this.posts = posts;
		this.assignments = assignments;
	}
	
	@Override
	public Assignment[] getAssignments() {
		// TODO Auto-generated method stub
		return this.assignments;
	}

	@Override
	public String getCardLink() {
		// TODO Auto-generated method stub
		return this.cardLink;
	}

	@Override
	public String getEmail() {
		// TODO Auto-generated method stub
		return this.email;
	}

	@Override
	public String getName() {
		// TODO Auto-generated method stub
		return this.name;
	}

	@Override
	public Post[] getPosts() {
		// TODO Auto-generated method stub
		return this.posts;
	}

	@Override
	public String getStatus() {
		// TODO Auto-generated method stub
		return this.status;
	}

}
